home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 4 / developer source - volume 4.iso / dobbs / jul94 / mang1t3.gif < prev    next >
Graphics Interchange Format  |  1996-01-10  |  89KB  |  557x303  |  8-bit (114 colors)
Labels: text | screenshot | font | number | document
OCR: Routine Description int VESA_Close() Closes VESA mode and returns to text mode. int VESA_GetMode() Returns current VESA mode. void VESA_PutPixel Displays a pixel of color color at the position (x,y). (int x, Int y, int color) void VESA_WritePixel (int x, int y, int n, char *color) Displays a line of n pixels starting at (x,y). Optimized to copy pixel value color in one or two operations using direct-memory void VESA ShowPalette() addressing to video memory. Displays palette contents by drawing one horizontal line using each available color. void VESA_LoadBlackPalette() void VESA_LoadBWPalette() Initializes memory palette so that all displayed colors are black. Initializes memory palette to hold graduated shading of gray scale. void VESA_LoadColor Loads a color in the memory palette entry i, with the given RGB (int i, int R, Int G, Int B) components. void VESA_ActivatePalette() Activates memory palette and copies all predefined entries to video Int VESA SetMode (int Mode, palette in VGA card. int GetMaxX, int GetMaxY) Initializes a given VESA mode. See Table 1. Table 3: RAY VESA routines